Reply to iOS 15 Gap between navigation bar and table view This one worked for me: if (@available(iOS 15.0, *)) { [UITableView appearance].sectionHeaderTopPadding = 0; } UI Frameworks UIKit Nov ’21